<template>
  <el-dialog title="编辑页面" width="400px" :visible="value">
    <h1>我是弹框</h1>
    <template #footer>
      <div>
        <el-button @click="$emit('input', false)">取消</el-button>
        <el-button type="primary">确定</el-button>
      </div>
    </template>
  </el-dialog>
</template>
<script>
export default {
  props: ['value']
}
</script>

<style></style>
